provider Monitors GET
/api/0/organizations/{organization_id_or_slug}/workflows/ @utdk/sentry
/api/0/organizations/{organization_id_or_slug}/workflows/ Fetch Alerts
Returns a list of alerts for a given organization
- organization_id_or_slug path required
- The ID or slug of the organization the resource belongs to.
- string
- sortBy query
- The field to sort results by. If not specified, the results are sorted by id. Available fields are: - `name` - `id` - `dateCreated` - `dateUpdated` - `connectedDetectors` - `actions` - `priorityDetector` Prefix with `-` to sort in descending order.
- string
- query query
- An optional search query for filtering alerts.
- string
- id query
- The ID of the alert you'd like to query.
- array
- project query
- The IDs of projects to filter by. `-1` means all available projects. For example, the following are valid parameters: - `/?project=1234&project=56789` - `/?project=-1`
- array
Try it
Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sentry from '@utdk/sentry';
await sentry.fetchAlerts()